package com.teradyne.merlin2.ui.client.providers;

import com.google.inject.Inject;
import com.google.inject.Provider;
import com.teradyne.merlin2.ui.client.activities.OrderListActivity;
import com.teradyne.merlin2.ui.client.views.OrderListView;

public class OrderListActivityProvider implements Provider<OrderListActivity> {
  private final OrderListView view;

  @Inject
  public OrderListActivityProvider(OrderListView view) {
    this.view = view;
  }

  @Override
  public OrderListActivity get() {
    return new OrderListActivity(view);
  }
}
